package com.gepengjun.lims.service.impl.base;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.gepengjun.lims.entity.RefPermissionRole;
import com.gepengjun.lims.mapper.RefPermissionRoleMapper;
import com.gepengjun.lims.service.RefPermissionRoleService;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

public abstract class BaseRefPermissionRoleServiceImpl extends BaseServiceImpl<RefPermissionRoleMapper, RefPermissionRole> implements RefPermissionRoleService {

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insert(RefPermissionRole var1){ return super.insert(var1); }

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertAllColumn(RefPermissionRole var1){ return super.insertAllColumn(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertBatch(List<RefPermissionRole> var1){ return super.insertBatch(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertBatch(List<RefPermissionRole> var1, int var2){ return super.insertBatch(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertOrUpdateBatch(List<RefPermissionRole> var1){ return super.insertOrUpdateBatch(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertOrUpdateBatch(List<RefPermissionRole> var1, int var2){ return super.insertOrUpdateBatch(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertOrUpdateAllColumnBatch(List<RefPermissionRole> var1){ return super.insertOrUpdateAllColumnBatch(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertOrUpdateAllColumnBatch(List<RefPermissionRole> var1, int var2){ return super.insertOrUpdateAllColumnBatch(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean deleteById(Serializable var1){ return super.deleteById(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean deleteByMap(Map<String, Object> var1){ return super.deleteByMap(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean delete(Wrapper<RefPermissionRole> var1){ return super.delete(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean deleteBatchIds(Collection<? extends Serializable> var1){ return super.deleteBatchIds(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateById(RefPermissionRole var1){ return super.updateById(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateAllColumnById(RefPermissionRole var1){ return super.updateAllColumnById(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean update(RefPermissionRole var1, Wrapper<RefPermissionRole> var2){ return super.update(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateForSet(String var1, Wrapper<RefPermissionRole> var2){ return super.updateForSet(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateBatchById(List<RefPermissionRole> var1){ return super.updateBatchById(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateBatchById(List<RefPermissionRole> var1, int var2){ return super.updateBatchById(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateAllColumnBatchById(List<RefPermissionRole> var1){ return super.updateAllColumnBatchById(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean updateAllColumnBatchById(List<RefPermissionRole> var1, int var2){ return super.updateAllColumnBatchById(var1,var2);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertOrUpdate(RefPermissionRole var1){ return super.insertOrUpdate(var1);}

    @Transactional
    @CacheEvict(value = "refPermissionRole",allEntries = true)
    public boolean insertOrUpdateAllColumn(RefPermissionRole var1){ return super.insertOrUpdateAllColumn(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public RefPermissionRole selectById(Serializable var1){ return super.selectById(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public List<RefPermissionRole> selectBatchIds(Collection<? extends Serializable> var1){ return super.selectBatchIds(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public List<RefPermissionRole> selectByMap(Map<String, Object> var1){ return super.selectByMap(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public RefPermissionRole selectOne(Wrapper<RefPermissionRole> var1){ return super.selectOne(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public Map<String, Object> selectMap(Wrapper<RefPermissionRole> var1){ return super.selectMap(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public Object selectObj(Wrapper<RefPermissionRole> var1){ return super.selectObj(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public int selectCount(Wrapper<RefPermissionRole> var1){ return super.selectCount(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public List<RefPermissionRole> selectList(Wrapper<RefPermissionRole> var1){ return super.selectList(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public Page<RefPermissionRole> selectPage(Page<RefPermissionRole> var1){ return super.selectPage(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public List<Map<String, Object>> selectMaps(Wrapper<RefPermissionRole> var1){ return super.selectMaps(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public List<Object> selectObjs(Wrapper<RefPermissionRole> var1){ return super.selectObjs(var1);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public Page<Map<String, Object>> selectMapsPage(Page var1, Wrapper<RefPermissionRole> var2){ return super.selectMapsPage(var1,var2);}

    @Cacheable(value = "refPermissionRole",keyGenerator = "myKeyGenerator")
    public Page<RefPermissionRole> selectPage(Page<RefPermissionRole> var1, Wrapper<RefPermissionRole> var2){ return super.selectPage(var1,var2);}

}
